package com.it.jzs.service;

import com.it.jzs.vo.Result;
import com.it.jzs.vo.params.LoginParams;
import com.it.jzs.vo.params.RegisterParams;
import com.it.jzs.vo.params.UserUpdateParams;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    Result<Object> register(RegisterParams registerParams);

    Result<Object> login(LoginParams loginParams, HttpServletRequest request);

    Result<Object> update(UserUpdateParams updateParams);
}
